PostgreSQL has a separate command-line tool that’s been available for decades and is included with any installation of PostgreSQL. Many long-term PostgreSQL users, developers, and administrators rely on psql to help them quickly connect to databases, examine the schema, and execute SQL queries. Knowing how to install and use basic psql commands is an essential …
The post PostgreSQL Basics: Getting started with psql appeared first on Simple Talk.
I’ve long been a huge advocate for always referencing objects with a schema prefix in SQL Server. In spite of what may be a controversial title to many of my regular blog readers, I don’t really want you to stop that practice in most of your T-SQL code, because the schema prefix is important and …
The post One use case for NOT using schema prefixes appeared first on Simple Talk.
In this article, we will walk through how to mount different types of Azure storage like Azure Blob Storage, Azure Data Lake Gen 2, Azure SQL, and Azure Cosmos DB, to Azure Databricks for data-related projects.
Many businesses are hesitant to adopt cloud technology due to security, cost, and complexity concerns. This can make it challenging for organizations to sell the benefits, leading to missed opportunities. Learn about different techniques to help sell cloud technology in your organization.
Cross-Site Request Forgery (CSRF) attacks are widespread, and even some BigTech companies suffer from them. Netflix suffered in 2006 with CSRF vulnerabilities. Attackers could change login credentials, change the shipping address and send DVDs to a newly set address. YouTube suffered from CSRF attacks where an attacker could perform actions of any user ING Direct …
The post How to secure legacy ASP.NET MVC against Cross-Site (CSRF) Attacks appeared first on Simple Talk.
An important aspect of building and managing a database is organizing the objects within your database. You may have tables that support different functions, for example, a schema for warehousing operations and another for sales. Some logins may need access to some tables, but not others. You might want to isolate one set of objects …
The post PostgreSQL Schema: Learning PostgreSQL with Grant appeared first on Simple Talk.
A company’s Azure environment can easily grow to a level that managing all the objects may become harder. The solution of this problem requires methods to query resources, such as Azure Functions, based on their properties. One of the fetures used for this is the Azure Resource Graph . However, Function Apps configuration is beyond …
The post List Azure Functions based on Configuration Values appeared first on Simple Talk.
In the first part of this series, we spoke about MySQL Replication, the different types, replication formats, benefits, and downsides, as well as a brief introduction to the requirements needed for setting up MySQL Replication. To ensure we stay on track with our intended topic, it’s important to have certain prerequisites in place before we …
The post A Beginners Guide To MySQL Replication Part 2: Configuring Source and Replica Servers appeared first on Simple Talk.
One of the more challenging technical details of columnstore indexes that regularly gets attention is the need for data to be ordered to allow for segment elimination. In a non-clustered columnstore index, data order is automatically applied based on the order of the underlying rowstore data. In a clustered columnstore index, though, data order is …
The post Ordered Columnstore Indexes in SQL Server 2022 appeared first on Simple Talk.
Microsoft made changes to its certification program and knowing about these changes can help you plan for future certifications related to SQL Server or other Microsoft technologies.
Learn about setting up a workbench database, migrating objects from a production database to the workbench, and how to make changes in the workbench database.
Learn about a scheduling tool called Jenkins that can be used to automate the execution of PowerShell scripts and other DevOps tasks in your environment.
In the previous article in this series, I introduced you to how to access MySQL data from within a Python script. The article described how to use the MySQL Connector to establish a connection with a database and then retrieve data through that connection. In this article, I continue the discussion by demonstrating how to …
The post Modifying MySQL data from within Python appeared first on Simple Talk.
Microsoft and Databricks have created a high-speed Apache Spark connector to read or write dataframes to SQL Server. This article covers this and a library called pymssql that can control database interactions to SQL Server.